package ModelLayer;

public class CustomerType
{
    private int CustomerTypeID;
    private String Type;
    private int Percentage;
    private double Amount;
    private double MinValue;

    public CustomerType()
    {
    }

    public CustomerType(String type, int percentage, int amount, int minValue)
    {
        this.Type = type;
        this.Percentage = percentage;
        this.Amount = amount;
        this.MinValue = minValue;
    }

    public double getAmount()
    {
        return Amount;
    }

    public void setAmount(double amount)
    {
        this.Amount = amount;
    }

    public int getCustomerTypeID()
    {
        return CustomerTypeID;
    }

    public double getMinValue()
    {
        return MinValue;
    }

    public void setMinValue(double minValue)
    {
        this.MinValue = minValue;
    }

    public int getPercentage()
    {
        return Percentage;
    }

    public void setPercentage(int percentage)
    {
        this.Percentage = percentage;
    }

    public String getType()
    {
        return Type;
    }

    public void setType(String type)
    {
        this.Type = type;
    }
    public void setCustomerTypeID(int id)
    {
        this.CustomerTypeID = id;
    }
    @Override
    public String toString()
    {
        return Type;
    }
}
